/*
 * 文件名称: ModuleDao.java
 * 版权信息: Copyright 2001-2012 ZheJiang Collaboration Data System Co., LTD. All right reserved.
 * ----------------------------------------------------------------------------------------------
 * 修改历史:
 * ----------------------------------------------------------------------------------------------
 * 修改原因: 新增
 * 修改人员: huangwb
 * 修改日期: Mar 11, 2012
 * 修改内容: 
 */
package com.sxkj.cyezj.dao;

import java.util.List;

import com.sxkj.cyezj.pojo.Module;
/**
 * Dao
 * 
 * @author <a href="mailto:huangwb@zjcds.com">huangwb</a> created on Mar 11, 2012
 * @since 
 */
public interface ModuleDao {
	/**
     * 插入
     * @param module
     * @author huangwb created on Mar 11, 2012 
     * @since
     */
	public void insertModule(Module module);
	/**
     * 删除
     * @param id
     * @author huangwb created on Mar 11, 2012
     * @since
     */
	public void deleteModuleById(String mId);
	/**
     * 更新
     * @param module
     * @author huangwb created on Mar 11, 2012 
     * @since
     */
	public void updateModule(Module module);
	/**
     * 查询
     * @param mId
     * @author huangwb created on Mar 11, 2012
     * @since
     */
	public Module getModule(String mId);
	
	/**
     * 查询
     * @param mId
     * @author huangwb created on Mar 11, 2012
     * @since
     */
	public List<Module> getAllModules();
}